From e6db132e033883695d826d4cf3574372adb95123 Mon Sep 17 00:00:00 2001 From: "kaf24@scramble.cl.cam.ac.uk" Date: Wed, 11 Aug 2004 07:28:29 +0000 Subject: [PATCH] bitkeeper revision 1.1159.17.8 (4119ca9d45NUd2jZUoii5FZ0sUjBKg) Missing EXPORT_SYMBOL. --- linux-2.4.26-xen-sparse/arch/xen/kernel/i386_ksyms.c | 1 + linux-2.6.7-xen-sparse/arch/xen/kernel/evtchn.c | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/linux-2.4.26-xen-sparse/arch/xen/kernel/i386_ksyms.c b/linux-2.4.26-xen-sparse/arch/xen/kernel/i386_ksyms.c index 8b72e44f12..0938a64f65 100644 --- a/linux-2.4.26-xen-sparse/arch/xen/kernel/i386_ksyms.c +++ b/linux-2.4.26-xen-sparse/arch/xen/kernel/i386_ksyms.c @@ -176,4 +176,5 @@ EXPORT_SYMBOL(create_xen_proc_entry); EXPORT_SYMBOL(remove_xen_proc_entry); EXPORT_SYMBOL(evtchn_do_upcall); +EXPORT_SYMBOL(force_evtchn_callback); EXPORT_SYMBOL(HYPERVISOR_shared_info); diff --git a/linux-2.6.7-xen-sparse/arch/xen/kernel/evtchn.c b/linux-2.6.7-xen-sparse/arch/xen/kernel/evtchn.c index 06d6ae948e..87eda48725 100644 --- a/linux-2.6.7-xen-sparse/arch/xen/kernel/evtchn.c +++ b/linux-2.6.7-xen-sparse/arch/xen/kernel/evtchn.c @@ -22,6 +22,11 @@ #include #include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) +EXPORT_SYMBOL(force_evtchn_callback); +EXPORT_SYMBOL(evtchn_do_upcall); +#endif + /* * This lock protects updates to the following mapping and reference-count * arrays. The lock does not need to be acquired to read the mapping tables. @@ -93,9 +98,6 @@ void evtchn_do_upcall(struct pt_regs *regs) local_irq_restore(flags); } -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) -EXPORT_SYMBOL(evtchn_do_upcall); -#endif static int find_unbound_irq(void) { -- 2.30.2